[PATCH] stream/reassembly: improve progress tracking for GAP cases
authorVictor Julien <vjulien@oisf.net>
Mon, 9 Mar 2026 10:56:55 +0000 (11:56 +0100)
committerAndreas Dolp <dev@andreas-dolp.de>
Thu, 23 Apr 2026 05:14:21 +0000 (07:14 +0200)
commit54e6c82ec7846022f8dc8efcad58ff0ae08897df
treee11a87ac233e3f04cc8af40323a2afa1e585f6af
parenta7b334620e9696e809dbbcbdb81816120470939c
[PATCH] stream/reassembly: improve progress tracking for GAP cases

When during raw reassembly it is detected that last ack is moved beyond
the progress and also beyond the data retrieved, update progress to the
last ack value.

Bug: #8272.
(cherry picked from commit ac1a514c7b57ea24f603020ef790c59b84143244)

Origin: upstream, https://github.com/OISF/suricata/commit/fecaa08f591c508b6486e7e9a2ee05636d1f9503.patch
Bug: https://redmine.openinfosecfoundation.org/issues/8365
Subject: Upstream fix for CVE-2026-31933

Gbp-Pq: Name CVE-2026-31933.patch
src/stream-tcp-reassemble.c